more portable sed syntax for jar script

quick tweak to sed syntax that should be more portable. hth.