Add support for wrapping AMD vendor files using defines