Fixed compilation on AMD