add uint32 to types.pxd
provide default value of __SDIR__ in common.h