wrap mbgl-core and mbgl-linux in -Wl,--start-group/-Wl,--end-group