turned off an optimization for 64-bit architectures when valgrind is enabled.