Tune build scripts to make them independent on local setup.