Use BUILD_SNOPT option to conditionally compile snopt code files.
Build shared libraries by default and give user an option (except on Windows)
Merge branch 'master' of github.com:dartsim/dart