Fixing Cmake error multiple definition of main
Reverted back to original