Fixes compilation with -Werror=implicit-function-declaration This has received no version updates for over 5 years. Cleaned up Makefile. Signed-off-by: Rosen Penev <rosenp@gmail.com>