Also OSL is not supported for MinGW. Last time I attempted this was quite a few months ago. It is possible to build blender itself, but binary crashes as soon as rendering is attempted. I did not even commit my compiled OSL and clang libraries back then.