moving src to TLD, compiled C functions for 64-bit mac