Update .gitignore with regards to test changes
Fix configure script on FreeBSD

* x86-64 architectures are reported as amd64 by uname -r
* FreeBSD platform don't need -ldl for linking
Flush caches before -running program

On some architectures, ARM for instance, the data and instruction caches
are not coherent with each other. This is a problem for the -run feature
since instructions are written in memory, and are thus written in the
data cache first and then later flushed to the main memory. If the
instructions are executed before they are pushed out of the cache, then
the processor will fetch the old content from the memory and not the
newly generated code. The solution is to flush from the data cache all
the data in the memory region containing the instructions and to
invalidate the same region in the instruction cache.
Fix synchronization between data and instr caches