Fixes modern tools/compiler
Fix Python2.7 logging, close issue gfrd/egfrd#83 and #84