set script to always run configure from the correct directory