set MACOSXVERSION also when cocoa is disabled.