Fix test/makefile to use the compiled executable file in current directory
Rename the makefile variable DESTDIR to PREFIX
Build with -safe-string
Support -safe-string