switched to latest flex framework
added workaround for building on linux