misc/build-clients: receive the target instead of building everything