fix errors on linux #111