replace --lib_dir and --bin_dir with --prefix

prefix is the standard argument for a configure script to take