fixes compilation on suse 10.1

fixes compilation on suse 10.1
Merge pull request #18 from Gerilgfx/patch-1

fixes compilation on suse 10.1