Compile a dist version