First version that compiles including user interface.
Setting -framework Carbon only for the linker when UI enabled in Apple.