Fixes for the loading of .ttdll's on windows