Fix std lib generator: allow executing from command line.
Merge pull request #306 from nskvortsov/master

Fix std lib generators: allow executing from command line.