Fixed problem with generating interfaces on windows