Use .obj as suffix for object files on MSVC

This avoids warnings when linking about "unrecognized source file
type, object file assumed".