Fixed a compiling issue on Linux