closes #90. support building from lower directory and fix for git bash on windows