upgraded build script to provide option for pfring build