Fixed typo causing compiler flags to be used even if not supported