Fixed a warning
Compilation breaks on OS X, not sure why yet