Fixed condition variable for Keil CMSIS