introduce check_all() for DRY
add default library path (/usr/lib and /usr/local/lib)
prettier code block for Dachs