small fixes
python2 related fixes inspired by scimmia22
poole is arch independent