fix ./configure script to work with cleaned up source dir