Allow shared library output as well as bitcode for math functions