Fix compatibility with AMD drivers 14.6