Added option to disable Carbon and Cocoa