Fixes from my branch, 64bit fixes, credits to christoph nageli, DEST support in Makefile
Changed paths: