Fixed build error on linux