Fix dist macros