OpenMP and unloading of dll's trickier than under UNIX with so. Solved.