Disable some functions in headers with no-ec2m