Add optimization flags for realtime.