add missing header include

fixes #7
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