Check END! only for real blocks

Call_Block abuses block for storing the pointers
[Makefile] fix libffi path for 32-bit linux systems

Tested on Arch linux
Fix qsort for 32-bit systems
[Makefile] Fix libffi path for mingw builds