[+] workaround for cmake bug
[+] passing correct flags for compiling the runtime