Simplify by using STATIC= in place of the inline patch