remove the compile errors in linux environment