it seems that Intel's Galileo dose not support avr related source code. Am I right ?
well, yes - it's x86 not avr I'd say.
? Is there any way to make it work ?
Any suggestions would be greatly appreciated.
Have a look what functions you actually require. You may start just commenting the '#include "avr/sleep.h"' and check the error messages. You might be able to easily replace by standard Linux sleep calls e.g.