Log an error instead of failing if module delete fails

Otherwise the build will fail on windows
Merge pull request #155 from kabir/testmodule

Log an error instead of failing if module delete fails