attempt to fix elemental parsing of math libs.  why oh why does cmake not accept arbitrary linking commands...