Changed dll import to static