Small tweaks to make tests pass on julia 0.4

part of my concern is that v"0.4.0-beta" would actually be before this version. I'm also not sure that "dev+1781" is a good indicator. If someone is working off of a branch, some of their commits might work and some might fail to work with Gtk, because they crossed over this magic number