Changed flags to get rid of error and went from glibs to libs