Should fix issue #32 xgap

This should fix the non compiling XGAP Reader.