add an AMD-friendly build of Maria. Fixes #4