RFC: prevent conflicts in library symbols

This patch obfuscates library symbols before using them in ccall to prevent naming conflicts.

Essentially, I wrote this just to be usable as test code to use to see if a segfault occurs because of a symbol conflict or something else (hence I marked it as RFC since I don't care if it actually gets merged, but just to have available for now)