Added quoting of some variables

Added quotes around some variables to address a build failure when invoking libtool if the path contains spaces.