Fix undefined refs to floor and lround by linking to math lib