Convert quaternion values to floats before passing to C++
Use RTLD_GLOBAL in python sitedir builds