Bump lib versions.
Made the build process more flexible.

Also switch back to curl-css in dev to support IE9 nicely.
Bump version.