Enable optimization for opt builds, also more determinism