This enables CMake based build for sim:ostest. Flags which are set by set_source_files_properties are not reflected in final build. Changing these to target_compile_options makes CMake build runnable. Signed-off-by: Daniel Jasinski <jasinskidaniel95szcz@gmail.com>