blender-git: Build fixes and debug build possible ..

.. but see the horrible block of dll.a / .a files that need to be
copied to _d variants! This needs a better fix.