Set correct compiler flags