OSX: Fix compilation on older systems

This commit fixes compilation errors on 10.3 (but some of the error
fixed where also present on 10.5).
BUILD: Enable task bar by default on OS X