Add target compatibility to build.