Make the platform identification more dynamic
Complete define for package name and version
cmake: Add static definition for windows build