fixed test for --prefix to skip on --no-configure