apply patch for googlecode Issue 148, to fix msvc dll linking.
suppress warnings in msvc 10.