prevent compiler optimization on log1p and up the version