Add temporary fix for calling c++ global/anonymous functions on Linux.