Fix build on Ubuntu since yaml-cpp 0.5 upgrade.

Thanks to sjamaan for help on #OpenXcom, and this Stack Overflow question for the solution: http://stackoverflow.com/questions/3128497/compiler-error-coming-out-of-yaml-cpp
Merge pull request #642 from evktalo/master

Fix build on Ubuntu since yaml-cpp 0.5 upgrade.