Fix issue where we couldn't compile if only working with static.