Fix compilation bug on Ubuntu x64
Fix parser availability detection
Fix log file permissions