Generate a compile error if release is built without compiler optimizations