configure fixes for expm1 and log1p support linux