Fixed 10.7-specific differences

BOOL is a new type altogether on 10.8, which is necessary for @YES to
work. On 10.7, it has to be @(YES) because the cast in there confuses
the compiler otherwise.

Also, OBJExport hadn't imported the category.