Autmatically generating object_ids.h
Fixed build python with cmake after generating object_ids.h.