EXPORT_THIS define and detection in makefile