Few changes regarding frameworks, other linker flags and a syntax error