Fix build, remove .proj, .rsrc to .rdef, add makefiles

For GCI task http://google-melange.appspot.com/gci/task/view/google/gci2013/6145113579323392