Remove MS VC project files.
Add cmake based build and fix linux build errors.