3.4.4 support

wip some tests todo, but at first glance should work

added automatic adjustment to the right defines for older versions