rename LIBDIR to SOFTWARE_LIBDIR, improve help output via introspection