added dependecies for bindings regen

Moved the bindings custom command to src/CMakeList.txt so that the binding regen command can have its full dependencies.