comply with beta7 lang changes

beta7 continues the work of removing number of implicitly unwrapped optionals from native libraries. This PR comply with these new interfaces.