Fix compile errors
Merge pull request #172 from dennishendriksen/master

Fix compile errors in apps