Modification of code to work with GCC and Linux environment.
Linux build.