change nOS_FlagSet to nOS_FlagSend
improve cortex m4f port
fix cortex-m3 port
surround conditional compilation with parentheses