Add missing MSVS declspec modifiers