Fix implicit declaration warnings.