initial checkin of lthread_cpp wrappers. Requires libstdc++ for now