Use HOME system variable inside double quoted PATH export

Instead of using ~, which doesn't expand inside double quotes, use $HOME variable in $PATH export instructions.

This fixes an issue with ``platform`` not being accessible along my system PATH.