Fix a OS X build error (missing a defined())