Make build output deterministic by remapping paths