Fixed Compilation issue of inner_product routines.