Fixed compilation error with GCC4.2

Fixed a compilation error with GCC4.2 reported in #225. Thanks to @SloppyJoe.