cache dlsym lookup (fixes issue #2), following suggestion by vtjnash
rename pyfunc -> pysym