Fixed a bug when do not specify a compile_options