Rework Linux compilation issues.

Make still issues warnings and refuses to compile the program, however,
one can manually type the final build command to create the executable.

Variables in the code have being modified to test linux compatability.