Fix wrong output in BUILDSYS_SHARED_LIB.