Fix non-AMD build