Changes to work with linux. Current version doesn't compile, I must to
resolve multiple inheritance problem.