adding mkinstalldirs script to utils

- needed to make package build work
made parse stack and ring buffer sizes configurable

- via autoconf and environment variables
- still statically allocated
- not displayed in configure summary yet