always set PATH for ctest js tests #869