change ctest to use obj dir