Fix compiler warnings /W4