Added a project for building with Visual Studio and fixed some linking
errors.