Fix for linux, added explicit link to math lib