added library_build.bat, to manually build the libopencm3 library when the project can not be build with error:

-------------- Clean: Debug in project (compiler: GNU GCC Compiler for ARM)---------------

  CLEAN   clean-objs
  CLEAN   clean-genlink
Cleaned "project - Debug"

-------------- Build: Debug in project (compiler: GNU GCC Compiler for ARM)---------------

Running command: mingw32-make.exe  -f Makefile images
  DIR     tmp
  DIR     bin
  CC      src/waitin.c
In file included from lib/libopencm3/include/libopencm3/cm3/nvic.h:135:0,
                 from include/waitin.h:25,
                 from src/waitin.c:33:
lib/libopencm3/include/libopencm3/dispatch/nvic.h:10:39: fatal error: libopencm3/stm32/f4/nvic.h: No such file or directory
 # include <libopencm3/stm32/f4/nvic.h>
                                       ^
compilation terminated.
mingw32-make.exe: *** [tmp/waitin.o] Error 1
lib/libopencm3/mk/gcc-rules.mk:57: recipe for target 'tmp/waitin.o' failed
Process terminated with status 2 (0 minute(s), 0 second(s))
2 error(s), 0 warning(s) (0 minute(s), 0 second(s))

after run of this script it should be able to build project normally!
common.mk - makefile - added standard c99 and gnu++11
removed unnecessary includes