Support optimization flags for nvcc (O3 on release)