Implemented optional modular build

Implemented optional modular build:
- triggered with FAIRROOT_MODULAR_BUILD option
- does not require the environment variables SIMPATH and FAIRROOTPATH