Fixes compilation with C++ compiler. Signed-off-by: Andreas Oberritter <obi@saftware.de> Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 7b3c6dd7f6810f3c8dec62904daa887c917ab7e2)