I've pushed two patches to make minor fixes to install_deps.sh.
D3078 First is to build the python static lib with -fPIC to allow building blender as a python module (static libs linked into dynamic libs must be built with position-independent code).
D3085 Second is to point OSL to locally-built EXR if it is available.
This task is related to my devtalk post and intended to be a collection of patches for install_deps.sh overall. Let's start with some basic changes first.