Fixed incompilable code caused by VS failing to run all pre-build events.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>