Fix warning when compiling with no-ec2m