Build fixes. #472
Merge branch 'trunk' of github.com:impetus-opensource/Kundera into trunk