fix main aliasing support

just a quick hack for now, real fix will come when we
produce the dep tree
fix mains with ./
fix tests
Release 0.11.2