Some random improvements to build-management

In an effort to improve build-management, I'm now contributing with some changes I feel will ease other fellow Kundera developers lives in the future.