Fix for compiling Firebreath project in BSD

When compiling on BSD, linking against libld causes an error, as ld is part of LIBC under BSD.

This commit omits the libld link if BSD is detected, and updates the comment to specify Linux instead of X11 for the reason to link.