Fixed compiler flags to work with gcc
Updated submodule revision