In Studio4, if I recall correctly (and might not be), there were separate settings for the CPU clock in simulation and the F_CPU needed for delay_ms(), et al.
So far, I have been unable to find a place to set it in Studio 6 at compile time. Do you just need to do a #define at the start of the source?
Thanks
Jim