Added a few more unused pragmas, and put a '#if targetMacOs' around LockFocusFlipped.