Fixes failing tests due to SortScan parsing
makes sure -g option is used for builds
disable mysql tests for now