Modified build script to try reference conditionally the 4.0 async libraries
Enabled async support in more classes