Trying to configure with --prefix causes install to fail