Fix a bug which generated pointers to constructors as functions
Merge branch 'hipspec' into hipspec-ueq