minor improvement in project templates (use srcdir instead of top_srcdir to find sources)