Moved all custom cmake modules to subdirectory cmake. Added separate cmake modules to build packages from 'src_extern'.