fixed impossibility to compile the mod with toolset v100 (not using c99 standard)