some modification to compiler flags