Fixing bug when getting code coverage build directory