added compiling options