Fix for updated Carla API, and fix build on old linux systems