bugfix: hpx_register_id should not be called within constructors!