Fix compile errors in world