Changes needed for building surfaces/osc (control surface protocol) with MSVC

(for testing on the non-Windows platforms)