Fix warnings with gcc 4.9.2

Signed-off-by: Jithin Jose <jithin.jose@intel.com>