tools/mklibs: update to 0.1.44 and convert to Python 3