Use gcc as linker in Gast.env; remove DynLink from Mac OS and Linux versions where it is not used

Status Job ID Name Coverage
  Test
passed #67725
test

00:01:00