Fix compile for Flash, will have to switch to Loader to get performance up