Fixed the fb error when build platform