Fix build on SunOS.
Need explicit -lfontconfig on SunOS.
Avoid -Werror=return-type failure.
Include and link against libintl on SunOS.