Add directives to locate python, add library and headers to build. Make python interface optional, but on by default.