Automated Building Blocks Selection based on Business Processes Semantics in ERPs