Build opencms-components only when necessary

The parent and modules build scripts call too often the
opencms-components build scripts. With this commit,  opencms-components
are build only upon modification.