build fixes

Hi @sokra,
little fixes for issues i faced with 6to5-loader build