fixed compilation errors on arch linux x64