add CC and LD settings for freebsd