An attempt to fix build with physics disabled