changed linker flag so builds will complete on test machines

There was no specific reason. I just didn't investigate. I added it and tested on mac,windows, and Ubuntu. No problems.