added static compilation for server