fixes #2 - broken amd support