Move LD flags around to fix a build error.
Merge pull request #141 from cablelabs/fix-ld-errors

Move LD flags around to fix a build error.