Fix the build for non-Cocoa platforms after r235772.