Fix compilation with gcc 4.7 for WebOS-Ports

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>