revert dynlinking in build on ARM (revert upstream abb86ad)

post RC2 change
it requires gold linker to work