build: mesar: Remove bashisms.