Fixed code that would make clang 3.3 to crash in debug mode.