Implement wrappers for emulation of POSIX dlfcn API.
Do some more essential build tree clean up.
Implement more robust _get_output_format fallback handling.