release v4.0.0.rc.1
Set default values for CXXFLAGS.
Use the defined CFLAGS and forego copypasta.
Merge pull request #350 from opscode/yzl/set-cxxflags-defaults

Set default values for CXXFLAGS.
get the correct path_key from the ENV on win
Clean up and expand path helper spec coverage
Log env vars with with their proper casing
Fix package_name and final_dmg inconsistency if safe name != name

If the project name has characters such as "-" in, package_name wasn't
resolving to what was created in the final output. This fix ties the two functions
together to avoid that, and also work with other packagers than "pkg".
Merge pull request #356 from opscode/schisamo/windows-path

Windows Path fixes
Remove unnecessary `when` clause for OmniOS and SmartOS
Use alpha ordering to sort version manipulation tests
Add Raspbian and Pidora to platform truncator. Fixes #349

These are Raspberry Pi variants of Debian and Fedora.
openSUSE/SLES fixes for OHAI-339

Ohai 7 introduced some changes to the platform returned on openSUSE and
SLES systems. This change standardizes on identifying openSUSE as 
`opensuse` and SLES as `sles`.
Merge pull request #351 from opscode/schisamo/platform-truncation-fixes

Platform Truncation Fixes/Additions
Make dmg compressor package_name def more readable
Remove the dmg compressor final_dmg def
Add unit spec coverage for packager affecting dmg compressor package_name.

The original specified behaviour has changed as well, no longer containing
the name/version/build iteration behaviour in the dmg, so it's spec is updated
to show that.
Simplify dmg package path using base package_path
Fix #366 (Arch Linux `truncate_platform_version': undefined method `split' for nil:NilClass (NoMethodError)).
Update test for platform_version in metadata to check for 'rolling' as /etc/arch-release no longer contains a version hint (deprecated some time ago).