improved build file

builds clients, server and packages into individual archives