fix warnings during configure time