Compile cptbox at full optimization