Added more logging around target architecture manipulation.