Add support to the build system for statically linking against the C and C++ standard libraries.

git-svn-id: http://odamex.net/svn/root/trunk@3770 b0bcef46-2027-0410-bd56-ab726e9a1d04