Fixed configure scripts.