Modify the makefile based on arrowd's comments
RP: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274562