FlexgGet 1.2 compatibility

Fixes #7