compile dll dependency on windows