Allow expansions of ENV_* vars in all options. 

As discussed in Issue #126.
Fixed Python 2.5 support. Should pass Travis CI this time.