pick compiler based on perl config

This should fix #1 

My Perl is on Linux, but it too uses clang and I verified that it built with clang instead of gcc.