remove some pre-defined os macros checks