Some refactorings for build system.
Merge branch '3.0' of github.com:hazelcast/hazelcast into 3.0