Style fixed, code cleanup (macosx.h)