Fix multiple compilation issues for all platforms.
Fix typo in Common.pro.
Merge pull request #2606 from thedax/master

Fix multiple compilation errors for all platforms.