Prevent appdirs from being an executable script
Improve setup.py

build_ext is now run when build is run
build is run by bdist_deb and build_doc