Updated project to use latest 5.0 sdk and tested against latest distrobution.