Added support for local.cmake and removal of symlinked py files.