Minor optimization of the compiler code that expands library paths