Fix luabind shared_ptr translation with different boost versions