Fix WebTiles compilation on OS X