Adjust link flags