Fix library postfix

On mac at least, `CMAKE_DEBUG_POSTFIX` and `CMAKE_LIBRARY_POSTFIX` were literally added to 64 bit library file names. This is because they weren't being escaped properly.