fix 64bit debian dod

Signed-off-by: Islam Amer <islam.amer@jollamobile.com>
Don't use ftools

Signed-off-by: David Greaves <david.greaves@jollamobile.com>