Add python binding support for cmake. Tested on linux