Fixed post_install error

I was getting errors when installing this package in directories containing spaces in the path. This patch fixes the test to quote the paths. Not sure if anything else needs to be quoted too?