Handle dir_config and with_config mysql more strictly, add rpath more often, add notices