Fix para_strerror() and use osl() wrapper for osl library calls.