Use system default compiler instead of unconditionally using gcc. Now works on FreeBSD too