updates environment and build options so they work on smartos and bumps
libev dep version