fixing static lib issue with stage ignoring