Updated distcheck code.