Fixes broken system environment path variables for mac os x .