Fixed a compiling issue with some compilers