fix compilation problem

strangly enough this only bit when using GCC but not CLANG. WTF??