python: Factor out lib_cellar
python: Fix the build for Linux