Merge pull request #2 from pvanassen/master

Fix for issue 'Add dependency management'
Made dependencies to log frameworks optional