Moved math-related instrinsics to LibM to link against libm when using them
Use suffix ifdef