Removed all code to support compilation using 10.4 SDK

10.5 is minimum version of OS X SDK to build. Deployment target can be 10.4 though
This reverts significant part of d061adf