Updated Visual studio project.

This commit fixes all warnings and errors due to changes made in code
blocks ubuntu. Everything compiles nicly!