Change Compile option

Changing compile option , so that we can compile on linux or Mac