Fix DSO interface macros