[s2714] Fix compile due to CMaNGOS [s1976]

(based on commit 3d6b816)

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