Fix build script to add a CFLAG -fPIC to LibJIT configurartion and fix tests