Fix Linux build for osdPolySmooth Maya plugin

- remove unused variables
- isolate MSVC specific pragmas (these should eventually be cleaned up from the code...)
- add the plugin to the general build