remove hardcoded opt prefix, patches should come before install, tried to follow formula guidelines