move compiler checks to ostypes.h