Add userdata to entity defs
Do debug builds by default