Fixed compilation issues under linux x64