add runtime flags for optimizations