[c2887] Fix compile and linking. Requires CMaNGOS [c12630]