Fix syntax issues

Fixed syntax issues causing the TravisCI build to fail.