Fixing bug where srcdir misses trailing slash