Fix bug where build folder is replaced more than once
Merge pull request #42 from rainforestapp/master

Fix bug where build folder is replaced more than once, closes #41