Error compiling for ststm32

Getting this compilation error on both ubuntu / cloud9 or mac osx …

$ pio run
[Fri Oct 13 21:44:38 2017] Processing genericSTM32F103C8 (platform: ststm32; board: genericSTM32F103C8; framework: arduino)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
Collected 26 compatible libraries
Looking for dependencies...
Project does not have dependencies
Compiling .pioenvs/genericSTM32F103C8/src/main.o
In file included from /home/mqtt/.platformio/packages/framework-arduinoststm32/STM32F1/cores/maple/boards.h:38:0,
from /home/mqtt/.platformio/packages/framework-arduinoststm32/STM32F1/cores/maple/wirish.h:54,
from /home/mqtt/.platformio/packages/framework-arduinoststm32/STM32F1/cores/maple/Arduino.h:30,
from src/main.c:1:
/home/mqtt/.platformio/packages/framework-arduinoststm32/STM32F1/cores/maple/wirish_types.h:66:1: error: unknown type name 'bool'
typedef bool boolean;
^
In file included from /home/mqtt/.platformio/packages/framework-arduinoststm32/STM32F1/cores/maple/wirish.h:54:0,
from /home/mqtt/.platformio/packages/framework-arduinoststm32/STM32F1/cores/maple/Arduino.h:30,
from src/main.c:1:
/home/mqtt/.platformio/packages/framework-arduinoststm32/STM32F1/cores/maple/boards.h:111:1: error: unknown type name 'bool'
bool boardUsesPin(uint8 pin);

Could you provide a simple project to reproduce this issue?