fix bash compiling errors with gcc 4.8 under ubuntu 13.04

Change-Id: Ib1d55efac7678171dba9cc8ce39c556ba77a7bee
Signed-off-by: Dan Trifan <jimsth@gmail.com>