fix some compile error for linux x64