Added linux support for printing out call stacks.
Print callstacks on LOGW and LOGE on OSX and linux as well.