configure: remove str test Makefile from AC_CONFIG_FILES
freebsd: set LDFLAGS and CPPFLAGS to use LOCALBASE