Deployment target set to OS X 10.8.
Fixed compatibility issues for building against deployment target.