move Deployment Target error to header file