Make $.open depend on the build target.