fixed bug: also generate a lib for an empty feature