fixed bug with compilation of bundles.
this is a temporary fix that should really be replaced by a proper
instantiator-based dependency tracking build