Fix unknown pragma warnings