Fixes compilation with GCC8. Remove obsolete patch. Small Makefile cleanups. Signed-off-by: Rosen Penev <rosenp@gmail.com>