adding missing error function, passing platform specific error function to common code
fixing makefiles, bumped revision to 3.4.4