Fix compile bug on Linux