Forcibly disable the '--as-needed' linker option.

With ld on Ubuntu 14.04 and GCC 4.9, when using C++'s std::thread
provided by libstdc++, the linking against pthreads gets dropped by it.
Merge pull request #54 from cmaloney/forcibly_disable_as_needed

Forcibly disable the '--as-needed' linker option.