Please use $(CC) instead of gcc

FreeBSD 10.0-RELEASE doesn't have gcc command.