fixed to work with AMD drivers, added makefile