Added quite safe OC and UV for CPU and fixed inline gcc compilation