Compiles both server and client