Fix for moonc -w
Merge pull request #160 from nucleartide/master

Fix for moonc -w