Significant AMD build bug fix. Added another example.