Handle systems without getprotobyname()