find the magic piece of automake that stops unwanted static libs
