added CoR-Lab patches to build process