add check that --prefix path is an aboslute path and not ~/path (ROOT-4754).