Fixing so runs on windows