Allow static libs compilation