Fix undefined reference to 'self' in build.js

This just caused a warning and didn't really matter
I believe, but anyway, fixed.
Merge pull request #375 from typesafehub/wip/havocp-fix-self-ref

Fix undefined reference to 'self' in build.js