Fix non-framework python paths.