Fix implicit declaration of function warnings

Makes clang a tiny little bit happier