Ccall TypeError

The following function gives an error in 0.7.0-DEV.3507 when declared in a module:

function version()
  info = ccall( (:gr_version, "/usr/local/gr/lib/libGR.so"),
               Cstring,
               (),
               )
  unsafe_string(info)
end

Example:

julia> using GR

julia> version()
ERROR: TypeError: in version, in ccall: first argument not a pointer or valid constant expression, expected Ptr, got Tuple{Symbol,String}
Stacktrace:
 [1] version() at /usr/local/lib/julia/v0.7/GR/src/GR.jl:3350
 [2] top-level scope

julia> which(:version)
GR

Works fine in the REPL !? Any idea?