Implement flexible target specification

See commit message.
```diff
- $gnu_t=$(to_gnu_triple $t)
+ gnu_t=$(to_gnu_triple $t)
```