Avogadro+embedded python

How do you force embedded python to work correctly with relative path? It tries to load sip and other stuff from place where it was compiled

Regards,
Konstantin