Do not take global as default context but this for AMD distribution (should fix #323)

No idea how to test that. Would love to help. :)
The only problem with this is that this is actually a breaking change (I'm not sure whether this will actually affect anybody though.)