[s2730] Fix compile and linking. Requires CMaNGOS [s1989]

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>

(based on commit ad06c11)

Signed-off-by: Xfurry <xfurry@scriptdev2.com>