Remove bashisms from abi_version.sh

This is needed to build on Solaris

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
bashisms remvoed from package_version.sh

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>