1) fix CMSIS library compilation error (TBD: verify vs latest official CMSIS). 2) add output folder to prevent lots of text output from compiler