Adapted to changes in GDCore. ( gd::Object::GenerateThumbnail is const ).
Also forget to include a file in PhysicsAutomatism.cbp