changed linking parameters for 64bit
Merge branch 'squeeze-64bit'
Added 64bit support, fixed segfault