Fixed compile error on Linux.