Changes for Win64 and PPC32/64

- Added math function using MSVC runtime
- Added PPC inline assembler for getStackTop()