more euler fixes for unix