compile: Fix handling bundled sources