Fix Flash compile support