remove bashisms from make_opk.sh

I guess the real problem was the missing `!` in the shebang, so cmake and sh could not hand it to bash, but removing the arrays (hopefully!) allows this script to run where any POSIX compatible shell is available.