Fixing build problem causing ridiculous file sizes