simplify
compatibility fixes

for gambc 4.2.8-1.1 from Debian/Ubuntu