Got script to work
Removed compiler-specific files
Added include guards
Got the code to compile again