Set the deployment target to 6.0 to fix build errors.