Improvements:
Added comments to describe each section of the script for better readability.
Improved indentation and formatting to enhance code clarity.
Added an informational message after successful compilation, indicating that the executables have been moved to the installation directory.
Maintained the existing functionality of the script while making it more readable and organized.