If a custom build driver is necessary then the most reasonable build script would be the 8188eu-dkms. There is a few caveats especially when building dkms’d drivers.
The aircrack script is not suited for general usage as it activates special features used by very specal applications.