mkdir checks, curl --retry, bz2

* TMPDIR and check if directory exists to prevent mkdir warnings, use pushd/popd
* AND to configure/make
* curl --retry 5 (#24)
* Fix .bz2 extensions

Closes #27