[compile.sh]: Logging potential errors during the compilation process AND ...

.. keeping files generated for multi-version compilation separate from
those created during single versioning
Merge pull request #520 from abhinavc/master

[compile.sh]: Logging potential errors during the compilation process AND...