Added binary compatibility checks to build.