Fix compilation warning C4996