Fix database project build

1. Fix the syntax error in the solution file
2. Add missing DLL to fix the build of the database.

There may be further missing DLLs...