Added matching of compilation warnings.

Corrected starting of compilation process to start from project directory.