Rename PTAB_NUM* to PTAB_*FLAGS
Update example
Make shared and static objects have the same name