foreignkey check error message

enhanced foreign key error message
export build path set.