Fix build without python