Compile objects

Speeds up the build a bit.