small fixes to the configure and Makefile to allow compilation on modern Arch Linux system