Fix undefined symbol error on Solaris11