[hacc] Fix bug causing optimized builds to crash, which was allowed by the C++11 spec being far too lenient.