bumped release version to 0.4.0: now works with ruby 1.9