avoid compile error on Linux