ammar server can now be compiled using cmake