support obj_int_extract on cygwin
support obj_int_extract on cygwin

cygwin doesn't support _sopen. drop down to the lowest common
denominator and merge main for all platforms. this also opens the door
for supporting multiple object formats with a single binary.

Change-Id: I7cd45091639d447434e6d5db2e19cfc9988f8630

mwgoldsmith/vpx,webmproject/libvpx,thdav/aom,altogother/webm.libvpx,smarter/aom,sanyaade-teachings/libvpx,n4t/libvpx,zofuthan/libvpx,vasilvv/esvp8,charup/https---github.com-webmproject-libvpx-,running770/libvpx,lyx2014/libvpx_c,kim42083/webm.libvpx,goodleixiao/vpx,webmproject/libvpx,shareefalis/libvpx,turbulenz/libvpx,Acidburn0zzz/webm.libvpx,smarter/aom,openpeer/libvpx_new,Acidburn0zzz/webm.libvpx,mbebenita/aom,goodleixiao/vpx,vasilvv/esvp8,turbulenz/libvpx,mbebenita/aom,turbulenz/libvpx,turbulenz/libvpx,kleopatra999/webm.libvpx,vasilvv/esvp8,mwgoldsmith/libvpx,felipebetancur/libvpx,gshORTON/webm.libvpx,matanbs/vp982,genesi/libvpx0,jdm/libvpx,webmproject/libvpx,ShiftMediaProject/libvpx,Suvarna1488/webm.libvpx,ittiamvpx/libvpx-1,iniwf/webm.libvpx,webmproject/libvpx,turbulenz/libvpx,Maria1099/webm.libvpx,Suvarna1488/webm.libvpx,genesi/libvpx0,Topopiccione/libvpx,n4t/libvpx,luctrudeau/aom,shacklettbp/aom,genesi/libvpx0,lyx2014/libvpx_c,pcwalton/libvpx,sanyaade-teachings/libvpx,felipebetancur/libvpx,gshORTON/webm.libvpx,charup/https---github.com-webmproject-libvpx-,gshORTON/webm.libvpx,Acidburn0zzz/webm.libvpx,mwgoldsmith/libvpx,enmasse-entertainment/libvpx,shyamalschandra/libvpx,kalli123/webm.libvpx,enmasse-entertainment/libvpx,Distrotech/libvpx,mbebenita/aom,Maria1099/webm.libvpx,zofuthan/libvpx,sanyaade-teachings/libvpx,jdm/libvpx,liqianggao/libvpx,running770/libvpx,Laknot/libvpx,shyamalschandra/libvpx,kleopatra999/webm.libvpx,rikaunite/gst-opera_libvpx,enmasse-entertainment/libvpx,felipebetancur/libvpx,gshORTON/webm.libvpx,enmasse-entertainment/libvpx,pcwalton/libvpx,mwgoldsmith/vpx,enmasse-entertainment/libvpx,goodleixiao/vpx,matanbs/vp982,iniwf/webm.libvpx,Topopiccione/libvpx,reimaginemedia/webm.libvpx,GrokImageCompression/aom,hsueceumd/test_hui,genesi/libvpx0,shyamalschandra/libvpx,awatry/libvpx.opencl,matanbs/webm.libvpx,GrokImageCompression/aom,matanbs/vp982,webmproject/libvpx,matanbs/vp982,GrokImageCompression/aom,kim42083/webm.libvpx,lyx2014/libvpx_c,reimaginemedia/webm.libvpx,shareefalis/libvpx,Suvarna1488/webm.libvpx,jmvalin/aom,openpeer/libvpx_new,openpeer/libvpx_new,mwgoldsmith/vpx,thdav/aom,Maria1099/webm.libvpx,matanbs/webm.libvpx,Maria1099/webm.libvpx,matanbs/vp982,Laknot/libvpx,kalli123/webm.libvpx,kim42083/webm.libvpx,kalli123/webm.libvpx,altogother/webm.libvpx,Laknot/libvpx,ittiamvpx/libvpx-1,Maria1099/webm.libvpx,thdav/aom,WebRTC-Labs/libvpx,zofuthan/libvpx,GrokImageCompression/aom,GrokImageCompression/aom,goodleixiao/vpx,iniwf/webm.libvpx,n4t/libvpx,felipebetancur/libvpx,liqianggao/libvpx,matanbs/webm.libvpx,Distrotech/libvpx,matanbs/webm.libvpx,VTCSecureLLC/libvpx,abwiz0086/webm.libvpx,felipebetancur/libvpx,reimaginemedia/webm.libvpx,smarter/aom,lyx2014/libvpx_c,genesi/libvpx0,n4t/libvpx,matanbs/webm.libvpx,liqianggao/libvpx,mbebenita/aom,cinema6/libvpx,mwgoldsmith/libvpx,mwgoldsmith/libvpx,reimaginemedia/webm.libvpx,WebRTC-Labs/libvpx,awatry/libvpx.opencl,matanbs/webm.libvpx,ittiamvpx/libvpx-1,ittiamvpx/libvpx-1,kalli123/webm.libvpx,openpeer/libvpx_new,sanyaade-teachings/libvpx,n4t/libvpx,pcwalton/libvpx,turbulenz/libvpx,jacklicn/webm.libvpx,kleopatra999/webm.libvpx,cinema6/libvpx,stewnorriss/libvpx,luctrudeau/aom,matanbs/vp982,WebRTC-Labs/libvpx,running770/libvpx,stewnorriss/libvpx,jdm/libvpx,VTCSecureLLC/libvpx,stewnorriss/libvpx,pcwalton/libvpx,ShiftMediaProject/libvpx,hsueceumd/test_hui,running770/libvpx,matanbs/vp982,Acidburn0zzz/webm.libvpx,mwgoldsmith/libvpx,mbebenita/aom,goodleixiao/vpx,shacklettbp/aom,jacklicn/webm.libvpx,kim42083/webm.libvpx,running770/libvpx,vasilvv/esvp8,vasilvv/esvp8,Maria1099/webm.libvpx,kim42083/webm.libvpx,shyamalschandra/libvpx,jmvalin/aom,shareefalis/libvpx,jacklicn/webm.libvpx,thdav/aom,ittiamvpx/libvpx,VTCSecureLLC/libvpx,mbebenita/aom,vasilvv/esvp8,shyamalschandra/libvpx,Topopiccione/libvpx,abwiz0086/webm.libvpx,VTCSecureLLC/libvpx,luctrudeau/aom,genesi/libvpx0,WebRTC-Labs/libvpx,Topopiccione/libvpx,awatry/libvpx.opencl,thdav/aom,rikaunite/gst-opera_libvpx,ittiamvpx/libvpx,WebRTC-Labs/libvpx,ittiamvpx/libvpx,gshORTON/webm.libvpx,shacklettbp/aom,thdav/aom,lyx2014/libvpx_c,jdm/libvpx,ShiftMediaProject/libvpx,ittiamvpx/libvpx,reimaginemedia/webm.libvpx,abwiz0086/webm.libvpx,charup/https---github.com-webmproject-libvpx-,pcwalton/libvpx,jmvalin/aom,pcwalton/libvpx,mwgoldsmith/libvpx,VTCSecureLLC/libvpx,charup/https---github.com-webmproject-libvpx-,ittiamvpx/libvpx,kim42083/webm.libvpx,jacklicn/webm.libvpx,zofuthan/libvpx,openpeer/libvpx_new,mbebenita/aom,mwgoldsmith/vpx,hsueceumd/test_hui,kleopatra999/webm.libvpx,kalli123/webm.libvpx,mbebenita/aom,openpeer/libvpx_new,felipebetancur/libvpx,iniwf/webm.libvpx,luctrudeau/aom,altogother/webm.libvpx,altogother/webm.libvpx,Suvarna1488/webm.libvpx,luctrudeau/aom,cinema6/libvpx,shareefalis/libvpx,hsueceumd/test_hui,Acidburn0zzz/webm.libvpx,Laknot/libvpx,rikaunite/gst-opera_libvpx,iniwf/webm.libvpx,running770/libvpx,turbulenz/libvpx,shacklettbp/aom,altogother/webm.libvpx,ShiftMediaProject/libvpx,rikaunite/gst-opera_libvpx,gshORTON/webm.libvpx,jmvalin/aom,zofuthan/libvpx,GrokImageCompression/aom,hsueceumd/test_hui,Distrotech/libvpx,Laknot/libvpx,charup/https---github.com-webmproject-libvpx-,cinema6/libvpx,VTCSecureLLC/libvpx,webmproject/libvpx,altogother/webm.libvpx,ittiamvpx/libvpx,shacklettbp/aom,abwiz0086/webm.libvpx,Laknot/libvpx,Topopiccione/libvpx,luctrudeau/aom,smarter/aom,shareefalis/libvpx,rikaunite/gst-opera_libvpx,turbulenz/libvpx,Distrotech/libvpx,hsueceumd/test_hui,Acidburn0zzz/webm.libvpx,mwgoldsmith/vpx,abwiz0086/webm.libvpx,cinema6/libvpx,jacklicn/webm.libvpx,Suvarna1488/webm.libvpx,cinema6/libvpx,mwgoldsmith/vpx,sanyaade-teachings/libvpx,zofuthan/libvpx,vasilvv/esvp8,Distrotech/libvpx,shacklettbp/aom,lyx2014/libvpx_c,charup/https---github.com-webmproject-libvpx-,Topopiccione/libvpx,mbebenita/aom,stewnorriss/libvpx,turbulenz/libvpx,liqianggao/libvpx,Suvarna1488/webm.libvpx,ittiamvpx/libvpx-1,stewnorriss/libvpx,shareefalis/libvpx,stewnorriss/libvpx,kleopatra999/webm.libvpx,smarter/aom,jdm/libvpx,liqianggao/libvpx,jacklicn/webm.libvpx,kalli123/webm.libvpx,Distrotech/libvpx,smarter/aom,iniwf/webm.libvpx,ShiftMediaProject/libvpx,jmvalin/aom,abwiz0086/webm.libvpx,goodleixiao/vpx,awatry/libvpx.opencl,liqianggao/libvpx,kleopatra999/webm.libvpx,shyamalschandra/libvpx,cinema6/libvpx,ittiamvpx/libvpx-1,reimaginemedia/webm.libvpx,jdm/libvpx,jmvalin/aom