Fix the way is processed rst files in Makefiles for python bindings code