Use .obj as suffix for object files on MSVC

This avoids warnings when linking about "unrecognized source file
type, object file assumed".
Merge pull request #536 from mstorsjo/obj-suffix

Use .obj as suffix for object files on MSVC
Merge remote-tracking branch 'upstream/master' into travis.osx