Fix env adapter py33 compatibility