Fix undefined reference linker error on Linux and Mac OS X.

Fix undefined reference linker error on Linux and Mac OS X.
See also http://openxcom.org/forum/index.php?topic=1978.0