Fix up python_bindings build

- support run_apps, run_apps_headless without first installing globally.
- fix dependencies in basic build rules.
- make setup.py support `$BUILD_PREFIX` as used by the main Halide build.