Remove unsupported compiler flags