Add elisp macro for platform-specific config code