fix gpswrapper compile