adds Exception as sane Error alternative, fixes handling of platform-specific predefined variables, fixes package version