[c3001] Fix build for CMaNGOS c12867

Close #7

(based on commit [3001] - 457ae94)

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