Compilation fixes for OS X:

- consistent class/struct
- X.XXd float literals ==> X.XX
- remove unused skill_check template function (produced error)
- include missing header.