Fixed build errors by importing compatibility version