Fixed build issue on linux