Fixes for comment handling and post-build command.

This fixes the two issues I ran into when configuring our project to use bundler.