Fix undefined reference to 'self' in build.js

This just caused a warning and didn't really matter
I believe, but anyway, fixed.