allow overriding :static-fns and :optimize-constants under :advanced optimization