OpenEXR fix misunderstanding: scanline files cannot be written in random order.
Fixes for BUILDSTATIC + Linux

Python bindings require dynamic library that needs different -fPIC
setting than is used when building .a, so don't build Python bindings on
Linux when BUILDSTATIC=1.