--- CMakeLists.txt.orig	2017-10-31 20:26:09 UTC
+++ CMakeLists.txt
@@ -12,7 +12,7 @@ set(LIBRARY_VERSION_FULL "${LIBRARY_VERS
 message( "Installation target directory is: " ${CMAKE_INSTALL_PREFIX} )
 message( "To override this value, use 'make -DCMAKE_INSTALL_PREFIX=$DIR'" )
 
-set( COMPILE_FLAGS "-ansi -pedantic -Wall -O2" )
+set( COMPILE_FLAGS "-pedantic -Wall -O2" )
 set( CMAKE_C_FLAGS  "${CMAKE_C_FLAGS} ${COMPILE_FLAGS}" )
 
 # Specify header files
@@ -43,9 +43,9 @@ set(VERSION "${LIBRARY_VERSION_FULL}")
 configure_file("libitl.pc.in" "libitl.pc" @ONLY)
 
 install( FILES ${HEADER_FILES} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/itl" )
-install( TARGETS itl DESTINATION ${CMAKE_INSTALL_LIBDIR} )
-install( TARGETS itlShared DESTINATION ${CMAKE_INSTALL_LIBDIR} )
-install(FILES "libitl.pc" DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig/)
+install( TARGETS itl DESTINATION ${CMAKE_INSTALL_LIBDIR}/itl )
+install( TARGETS itlShared DESTINATION ${CMAKE_INSTALL_LIBDIR}/itl )
+install(FILES "libitl.pc" DESTINATION ${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig/)
 
 # Specify executables
 add_executable( demo_hijri hijri/demo_hijri.c )
