Set SDK and deployment target to 10.8, fixed some autolayout warnings.