fix pointer types for pcre_get_substring
clean-up Makefile
disable free_* calls (causes memory violation)
add test source file