Make compile with Debian 6 (squeeze)

Fix the issue #1