Build util and common before building server

If after compile one introduces errores in say, chainparams, make will compile main before founding the errors.
This change doesn't guarantee that the dependencies will compiled in the correct order, but it's a short term solution for convenience.