optimization of host compiling option