Avoid constructing a library name with variables without proper escaping when SHLIBNAME is '$LIBNAME' Found by: philip * SConstruct Handle special case that should have been caught by scons.