Fix cmake 2.8.9 '-rdynamic' bug:
Factoring stm32f100 hal with stm32f1 hal for preparation of stm32f103 hal.