Add proper header guards
Remove XCode related files
Change output library name in CMake