Role of fatty acid acylation in directed targeting of proteins to membranes and effect on the self-assembly of an amyloid fibril forming peptide