You should read the ATMEL APPLICATION Note titled : AVR091.
Do a google search for it.
I don't know C very well but try this. Let me know if it works.
All you have to do is just follow the signal name changes and the register name changes as in the AVR091 application note. The changes are in the USART and some timer registers.