Made link attachment thumbnail disabling configurable at build time