Respect build_dir when substituting data install path

The more correct place for data install path substitution is the `build` directory. Distutils installs files from that location so it's better and safer to modify the path there rather than rely on `setup.py` updating the in-build copy.

This also makes the `setup.py` work properly when multiple builds are done in parallel.