made buildBehavior public to answer issue#56 on SINTEF-9012/ThingML