Use -lmath on MorphOS for .library

Converting a double to an int64_t requires helper functions on 32-bit
PowerPC.