Better handling for different OS

The tomita parser executable name east is looking for at runtime is now
determined automatically based on the analysis of the environment in which
east is run.