Fix warnings about 64 to 32 casts
Remove Makefiles and configure scripts and minor fixes