Flatten CommonJS module generation so paths read the same as AMD