Fixes compile order issue