Added mkdir/rmdir macros to configure.ac and ran autoreconf

make install now creates directories where necessary and
uninstall tries to remove them where empty.

fixes #8