Fix for if Cocoa library is not found.