Add replacements for log2f(), exp2() and exp2f() for platforms that lacks it.