Fix bugs on OS X

Long story short: on OS X, sys.prefix actually pointing to
/System/Library/Frameworks/Python.framework/foo, not /usr/local (which
is the default path where Glances is installed using pip or brew).

Using a self-made implementation of sys.prefix, called sys_prefix, fix
the problem.