fix compile issue on natty