fixed compile errors when MT skinning and effect feature are disabled