Fix win32 mingw native build

toxdns was not linking because of references to functions in crypto_core