Fixed Linux/Mac compilation (#252).