Fix builddir != srcdir issue

https://bugzilla.gnome.org/show_bug.cgi?id=731325