misc/build-server: use environment variable to define dest dir
misc/build-clients: use environment variable to define dest dir