#588 Fix for CompileTask source maps

This fixes the issue observed in #588.