Remove replace_bi_path

This is not needed, and it breaks Python 3 and cmake