Add support for link flags