I just realised there is a whole parallel discussion about Windows library loading issues here that may have some relevance: