add option to build with the makefile

This is the more modern way at least on Fedora + RHEL

checkmodule fails for me