Added math library flag for linking on Linux