changed run_ctest scripts to run out of the build directory